package com.banyiyi.simple.pattern.chainOR;

/**
 * @ClassName ErrorHandler
 * @Description TODO
 * @Author yangwm
 * @Date 2023/2/16 16:53
 * @Version 1.0
 */
public class ErrorHandler extends Handler{

    public ErrorHandler(int level){
        this.level = level;
    }

    @Override
    public void patch() {
        System.out.println("当前事件由 ErrorHandler 对象进行处理");
    }
}
